import entity.Chinese;
import entity.Person;
import factorys.MyBeanFactory;
import factorys.PersonFactory;

import java.io.InputStream;
import java.util.Properties;

/**
 * @author YoungRain
 * @date 2022/08/17 11:35
 */
public class Test {

    public static void main(String[] args) throws Exception {
        Chinese chinese = (Chinese)MyBeanFactory.getBean("Chinese");

        chinese.eat();
    }


}
